package com.study.reactor.service.impl;

import com.study.reactor.service.Ta;
import com.study.reactor.vo.UserVO;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yuantongqin
 * desc:
 * 2020-11-09
 */
public class Tb extends Ta {

    public void test(){
        List<UserVO> list = new ArrayList<>();
        UserVO userVO= new UserVO().setName("张三");
        list.add(userVO);
        addList(list);
    }

    @Override
    public <T> void add(List<T> data) {
        List<UserVO> list = (List<UserVO>) data;
        System.out.println(list.toString());
    }


}
